﻿using CPFrameWork.Utility.DbOper;
using System;
using System.Collections.Generic;
using System.Text;

namespace BusinessManage
{
    #region 交互实体

    public class DropListSource
    {
        //value
        public string value { get; set; }
        //text
        public string text { get; set; }
    }

    public class FieldSource
    {
        //数据库实例
        public string FieldEnumDataIns { get; set; }
        //数据源
        public string FieldEnumDataSource { get; set; }
    }

    public class ReportData
    {
        public string GridCode { get; set; }
        public string CurUserId { get; set; }
        public string CurUserIden { get; set; }
        public List<Items> Items { get; set; }


    }
    public class Items {
        public long Id { get; set; }
        public string OrderId { get; set; }//订单编号
        public string OrderChildId { get; set; }//订单详细编码
        public string BaseId { get; set; }//基地编码
        public string BaseName { get; set; }//基地名称
        public string HallId { get; set; }//孵化厅编码
        public string HallName { get; set; }//孵化厅名称
        public string VarietyId { get; set; }//商品编号
        public string VarietyName { get; set; }//商品
        public string GoodsId { get; set; }//品种编号
        public string GoodsName { get; set; }//品种
        public int BuyChickCount { get; set; }//进雏数量
        public int HallLossCount { get; set; }//路耗数量
        public string CreateUserId { get; set; }//分厅操作用户编码
        public string Remarks { get; set; }//备注
    }


    public class UpdateDataInput
    {
        public int CurUserId { get; set; }
        public string CurUserIden { get; set; }
        public string GridCode { get; set; }
        public List<UpdateDataInputItem> Items { get; set; }
        public List<Items> ADDItems { get; set; }
    }
    public class UpdateDataInputItem
    {
        public string DataPK { get; set; }
        public List<string> FieldNamCol { get; set; }
        public List<string> FieldValueCol { get; set; }
    }

    public class PKArray
    {
        public string DataPK { get; set; }
        public string dataPKArray { get; set; }
    }
    #endregion


}
